package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 电子围栏对象 tb_rail
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class TbRail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long railId;

    /** 电子围栏编码 */
    @Excel(name = "电子围栏编码")
    private String railCode;

    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String railName;

    /** 围栏类型 */
    @Excel(name = "围栏类型")
    private String railType;

    /** 围栏状态 */
    @Excel(name = "围栏状态")
    private Long railStatus;

    /** 围栏路径 */
    @Excel(name = "围栏路径")
    private String railPath;

    /** 创建人 */
    @Excel(name = "创建人")
    private String railUserCode;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long railDeleted;

    public void setRailId(Long railId) 
    {
        this.railId = railId;
    }

    public Long getRailId() 
    {
        return railId;
    }
    public void setRailCode(String railCode) 
    {
        this.railCode = railCode;
    }

    public String getRailCode() 
    {
        return railCode;
    }
    public void setRailName(String railName) 
    {
        this.railName = railName;
    }

    public String getRailName() 
    {
        return railName;
    }
    public void setRailType(String railType) 
    {
        this.railType = railType;
    }

    public String getRailType() 
    {
        return railType;
    }
    public void setRailStatus(Long railStatus) 
    {
        this.railStatus = railStatus;
    }

    public Long getRailStatus() 
    {
        return railStatus;
    }
    public void setRailPath(String railPath) 
    {
        this.railPath = railPath;
    }

    public String getRailPath() 
    {
        return railPath;
    }
    public void setRailUserCode(String railUserCode) 
    {
        this.railUserCode = railUserCode;
    }

    public String getRailUserCode() 
    {
        return railUserCode;
    }
    public void setRailDeleted(Long railDeleted) 
    {
        this.railDeleted = railDeleted;
    }

    public Long getRailDeleted() 
    {
        return railDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("railId", getRailId())
            .append("railCode", getRailCode())
            .append("railName", getRailName())
            .append("railType", getRailType())
            .append("railStatus", getRailStatus())
            .append("railPath", getRailPath())
            .append("railUserCode", getRailUserCode())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("railDeleted", getRailDeleted())
            .toString();
    }
}
